<?php
include './base.php';
    // $gid = $_POST["goodsid"];
    $bname = $_POST["bname"];
    $bprice = $_POST["bprice"];
    $bnumber = $_POST["bnumber"];
    $bcategory = $_POST["bcategory"];
    $sql = "insert into goods value(null,'$bname','$bprice','$bnumber','$bcategory',1)";
    $res = mysql_query($sql);
    // $row = mysql_fetch_assoc($res);
    print_r("添加成功！");
?>